
import service from "./service.js";


export default {
    getHomeImgUrl() {
        return service({
            url: '/dcmerp/erp/screen/order/getImgUrl'
        });
    },
    getList(supplierId) {
        return service({
            url: '/dcmerp/erp/screen/order/getOrderList?supplierId='+supplierId
        });
    },
    queryAmountMap(supplierId) {
        return service({
            url: '/dcmerp/erp/screen/order/queryAmountMap?supplierId='+supplierId
        });
    },
    queryFunnelMap(supplierId) {
        return service({
            url: '/dcmerp/erp/screen/order/queryFunnelMap?supplierId='+supplierId
        });
    },
    queryNotReconciledMap(supplierId) {
        return service({
            url: '/dcmerp/erp/screen/order/queryNotReconciledMap?supplierId='+supplierId
        });
    },
    queryOrderNumMap(supplierId) {
        return service({
            url: '/dcmerp/erp/screen/order/queryOrderNumMap?supplierId='+supplierId
        });
    },
    queryOrderDataList(supplierId) {
        return service({
            url: '/dcmerp/erp/screen/order/queryOrderDataList?supplierId='+supplierId
        });
    },
    queryPurchaseMap() {
        return service({
            url: '/dcmerp/erp/screen/purchase/queryPurchaseMap'
        });
    },
    getDemandPlanStatusList() {
        return service({
            url: '/dcmerp/erp/screen/purchase/getDemandPlanStatusList'
        });
    },
    getPurchaseData() {
        return service({
            url: '/dcmerp/erp/screen/purchase/getPurchaseData'
        });
    },
    getPurchaseMonthData() {
        return service({
            url: '/dcmerp/erp/screen/purchase/getPurchaseMonthData'
        });
    },
    getPurchaseSubData() {
        return service({
            url: '/dcmerp/erp/screen/purchase/getPurchaseSubData'
        });
    },
    getPurchaseFinishRate() {
        return service({
            url: '/dcmerp/erp/screen/purchase/getPurchaseFinishRate'
        });
    }
}